package com.book.service;

import com.book.dto.BrowseHistoryDto;
import com.book.pojo.BrowseHistory;

import java.util.List;

/**
 * @version 1.0
 * @Author Jincheng.Li
 * @Date 2021/5/29 9:07 下午
 * @Project_Name graduation-project
 */
public interface BrowseHistoryService {
    int deleteByPrimaryKey(Integer id);

    int delete(String uCode);

    List<BrowseHistoryDto> getList(String uCode);

    int insertSelective(BrowseHistory record);

    int updateByPrimaryKeySelective(BrowseHistory record);

    BrowseHistoryDto getBrowseHistory(String uCode, String bookCode);

}
